package chuishop.yiqimaicai.pojo;

import java.util.Date;
//订单头
public class Order_header {
    private Integer ohid;   //订单头id1
    private Integer uid;    //用户id
    private String usename; //用户名
    private String phone;   //联系方式
    private Date ohdatatime;//订单日期
    private Double total;   //总价
    private String payway;  //付款方式
    private Integer pid;    //取货点id
    private String pickphone;//取货团长联系方式
    private String ostate;  //订单状态
    private Date confirmtime;//确认收货时间
    private String ohremark;//备注

    public Order_header() {
    }

    public Order_header(Integer ohid, Integer uid, String usename, String phone, Date ohdatatime, Double total, String payway, Integer pid, String pickphone, String ostate, Date confirmtime, String ohremark) {
        this.ohid = ohid;
        this.uid = uid;
        this.usename = usename;
        this.phone = phone;
        this.ohdatatime = ohdatatime;
        this.total = total;
        this.payway = payway;
        this.pid = pid;
        this.pickphone = pickphone;
        this.ostate = ostate;
        this.confirmtime = confirmtime;
        this.ohremark = ohremark;
    }

    public Integer getOhid() {
        return ohid;
    }

    public void setOhid(Integer ohid) {
        this.ohid = ohid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsename() {
        return usename;
    }

    public void setUsename(String usename) {
        this.usename = usename;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getOhdatatime() {
        return ohdatatime;
    }

    public void setOhdatatime(Date ohdatatime) {
        this.ohdatatime = ohdatatime;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getPayway() {
        return payway;
    }

    public void setPayway(String payway) {
        this.payway = payway;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPickphone() {
        return pickphone;
    }

    public void setPickphone(String pickphone) {
        this.pickphone = pickphone;
    }

    public String getOstate() {
        return ostate;
    }

    public void setOstate(String ostate) {
        this.ostate = ostate;
    }

    public Date getConfirmtime() {
        return confirmtime;
    }

    public void setConfirmtime(Date confirmtime) {
        this.confirmtime = confirmtime;
    }

    public String getOhremark() {
        return ohremark;
    }

    public void setOhremark(String ohremark) {
        this.ohremark = ohremark;
    }
}

